﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace FooFun.DataElements.Dtos
{
    public interface IDataElement : IEnumerable
    {
        object Value
        {
            get;
            set;
        }

        IDataElement this[string key]
        {
            get;
            set;
        }

        IDataElement this[int index]
        {
            get;
            set;
        }

        IDataElement Add(IDataElement de);

        IEnumerable GetKeys();

        IDataElement Parent
        {
            get;
            set;
        }

        bool IsEmpty
        {
            get;
        }
    }
}
